public class Card {
    public int rank;
    public String sult;

    public Card(int rank, String sult) {
        this.rank = rank;
        this.sult = sult;
    }

    @Override
    public String toString() {
        return String.format("[%s %d]",sult,rank);
    }
}

